<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
  PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en"><title id="ff142493">gp_id</title><body><p>The <codeph>gp_id</codeph> system catalog table identifies the Greenplum Database
      system name and number of segments for the system. It also has <codeph>local</codeph> values
      for the particular database instance (segment or master) on which the table resides. This
      table is defined in the <codeph>pg_global</codeph> tablespace, meaning it is globally shared
      across all databases in the system.</p><table id="ff142504"><title>pg_catalog.gp_id</title><tgroup cols="4"><colspec colnum="1" colname="col1" colwidth="131pt"/><colspec colnum="2" colname="col2" colwidth="86pt"/><colspec colnum="3" colname="col3" colwidth="85pt"/><colspec colnum="4" colname="col4" colwidth="147pt"/><thead><row><entry colname="col1">column</entry><entry colname="col2">type</entry><entry colname="col3">references</entry><entry colname="col4">description</entry></row></thead><tbody><row><entry colname="col1"><codeph>gpname</codeph></entry><entry colname="col2">name</entry><entry colname="col3"/><entry colname="col4">The name of this Greenplum Database system.</entry></row><row><entry colname="col1"><codeph>numsegments</codeph></entry><entry colname="col2">integer</entry><entry colname="col3"/><entry colname="col4">The number of segments in the Greenplum Database system.</entry></row><row><entry colname="col1"><codeph>dbid</codeph></entry><entry colname="col2">integer</entry><entry colname="col3"/><entry colname="col4">The unique identifier of this segment (or master)
instance.</entry></row><row><entry colname="col1"><codeph>content</codeph></entry><entry colname="col2">integer</entry><entry colname="col3"/><entry colname="col4">The ID for the portion of data on this segment instance. A primary and its
              mirror will have the same content ID.<p>For a segment the value is from 0-<i>N-1</i>,
                where <i>N</i> is the number of segments in Greenplum Database.</p><p>For the master, the value is -1. </p></entry></row></tbody></tgroup></table></body></topic>
